Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change remote when creating container with autopktest-build-lxd #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mirespace
Copy link

images: remote doesn't provide Ubuntu Server images anymore (as seen on MM at https://chat.canonical.com/canonical/pl/gkqq68hbq7bo7ge1jkc8jim8xc).

@@ -112,7 +112,7 @@ First, we will build the image we prepared in the previous section.
* To build a container image:

```bash
$ autopkgtest-build-lxd images:ubuntu/impish/amd64
$ autopkgtest-build-lxd ubuntu-daily:oracular

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Can we set this to devel?

Suggested change
$ autopkgtest-build-lxd ubuntu-daily:oracular
$ autopkgtest-build-lxd ubuntu-daily:devel

This way the doc always points to the release in development.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: just for awareness; the text above references focal. I don't know if this should be refreshed too (e.g. to noble).

* To build a VM image:
```bash
$ autopkgtest-buildvm-ubuntu-cloud -r focal -v \
--cloud-image-url http://cloud-images.ubuntu.com/daily/server
```
(Replace `focal` with your release of choice)
Copy the resulting image (`autopkgtest-focal-amd64.img`) to the
`/var/lib/adt-images` directory.
> **Note**:
> Use `-m` to specify a closer mirror or `-p` to use a local proxy
> if it's slow.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. @mirespace can you take this opportunity and replace all usage of the images: remote where it uses ubuntu, with ubuntu-daily:?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Dominik, Andreas,

Thank you both for your suggestions. I made a search and changed images to ubuntu-daily (tbh, I don't know why I didn't do it the first time).

@dviererbe I started to change the used series names too (for devel and LTS), but I found it "attached" to examples of commits and runs that don't match if I made the changes then.

A couple of weeks ago, on my documentation triage shift, I saw a discussion pending about this topic at #112 ... what about figuring out there?

Anyway, I can do a separate PR once we decide, or if we don't do it in a timely manner, I can do a new separate PR for the most straightforward cases (e.g., the one you reference here).

What do you think? Thanks again!

`images:` remote doesn't provide Ubuntu Server images anymore
@mirespace mirespace force-pushed the mirespace-autopktest-build-lxd-fix branch from 96d7787 to e8726c3 Compare October 24, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants